/* 
 * Since 2008 - 2012
 */
package com.hh.bss.project.vo.query;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.*;

import com.hh.bss.base.*;
import com.hh.bss.common.page.*;
import com.hh.bss.common.page.impl.*;
import com.hh.bss.project.dao.*;
import com.hh.bss.project.entity.*;
import com.hh.bss.project.service.*;
import com.hh.bss.project.vo.query.*;
import com.hh.bss.util.*;





public class SearchProjectCvQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	/** id */
	private java.lang.Integer id;
	/** 项目id */
	private java.lang.Integer projectId;
	/** 人才简历id */
	private java.lang.Integer cvId;
	/** 目标公司库中 */
	private java.lang.Integer companyId;
	/** creator */
	private java.lang.String creator;
	/** createDt */
	private java.util.Date createDtBegin;
	private java.util.Date createDtEnd;
	private java.lang.Integer jobId;
	private String cvName;
    private String phone;
    private String cvType;
    private Integer deptId;
	private Integer titleId;
	private Integer oldDeptId;
	private Integer oldTitleId;
	private java.lang.String modifier;
	
	private  Integer cvStatus ; //人选进展
	
	private Integer cvTag; //人选标签
	
	private Integer fitJob; //适合职位
	
	private String  cvFlags;  //联系标签
	/** 是否有附件 1 有 -1 无 */
	private Integer hasAttachment = 0 ; 
	
	private String company; //现任公司
	
	private String position; //现职位
	
	
	
	
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public Integer getHasAttachment() {
		return hasAttachment;
	}
	public void setHasAttachment(Integer hasAttachment) {
		this.hasAttachment = hasAttachment;
	}
	public Integer getFitJob() {
		return fitJob;
	}
	public void setFitJob(Integer fitJob) {
		this.fitJob = fitJob;
	}
	public String getCvFlags() {
		return cvFlags;
	}
	public void setCvFlags(String cvFlags) {
		this.cvFlags = cvFlags;
	}
	public Integer getCvTag() {
		return cvTag;
	}
	public void setCvTag(Integer cvTag) {
		this.cvTag = cvTag;
	}

	public Integer getCvStatus() {
		return cvStatus;
	}

	public void setCvStatus(Integer cvStatus) {
		this.cvStatus = cvStatus;
	}

	public java.lang.String getModifier() {
		return modifier;
	}

	public void setModifier(java.lang.String modifier) {
		this.modifier = modifier;
	}

	public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public Integer getTitleId() {
		return titleId;
	}

	public void setTitleId(Integer titleId) {
		this.titleId = titleId;
	}

	public Integer getOldDeptId() {
		return oldDeptId;
	}

	public void setOldDeptId(Integer oldDeptId) {
		this.oldDeptId = oldDeptId;
	}

	public Integer getOldTitleId() {
		return oldTitleId;
	}

	public void setOldTitleId(Integer oldTitleId) {
		this.oldTitleId = oldTitleId;
	}

	public String getCvType() {
		return cvType;
	}

	public void setCvType(String cvType) {
		this.cvType = cvType;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	private String email;
	private String mobile;
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getCvName() {
		return cvName;
	}

	public void setCvName(String cvName) {
		this.cvName = cvName;
	}

	public java.lang.Integer getJobId() {
		return jobId;
	}

	public void setJobId(java.lang.Integer jobId) {
		this.jobId = jobId;
	}

	public java.lang.Integer getId() {
		return this.id;
	}
	
	public void setId(java.lang.Integer value) {
		this.id = value;
	}
	
	public java.lang.Integer getProjectId() {
		return this.projectId;
	}
	
	public void setProjectId(java.lang.Integer value) {
		this.projectId = value;
	}
	
	public java.lang.Integer getCvId() {
		return this.cvId;
	}
	
	public void setCvId(java.lang.Integer value) {
		this.cvId = value;
	}
	
	public java.lang.Integer getCompanyId() {
		return this.companyId;
	}
	
	public void setCompanyId(java.lang.Integer value) {
		this.companyId = value;
	}
	
	public java.lang.String getCreator() {
		return this.creator;
	}
	
	public void setCreator(java.lang.String value) {
		this.creator = value;
	}
	
	public java.util.Date getCreateDtBegin() {
		return this.createDtBegin;
	}
	
	public void setCreateDtBegin(java.util.Date value) {
		this.createDtBegin = value;
	}	
	
	public java.util.Date getCreateDtEnd() {
		return this.createDtEnd;
	}
	
	public void setCreateDtEnd(java.util.Date value) {
		this.createDtEnd = value;
	}
	
	private String field_type;
	private String query;

	public String getField_type() {
		return field_type;
	}

	public void setField_type(String file_type) {
		this.field_type = file_type;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}
        private String sort;
	private String dir;

        public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		
		this.sort = sort;
		if (!StringHelper.isEmpty(sort)&&!StringHelper.isEmpty(dir))
		  this.setSortColumns(sort+" "+dir);
	}

	public String getDir() {
		return dir;
	}

	public void setDir(String dir) {
		this.dir = dir;
	}
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
	
}

